using System;
using System.Collections.Generic;
using System.Text;
using DTLAutomateGUI.Controls.LayoutControls;

namespace DTLAutomateGUI.Controls
{
	#region file action items
	public enum FileAction
	{
		Save,
		SaveAs,
		Open
	}
	
	public delegate void FileActionPerformedDelegate(FileActionEventArgs ea);

	public struct FileActionEventArgs
	{
		public FileActionEventArgs(FileAction action)
		{
			this.action = action;
			this.filename = "";
		}

		public FileActionEventArgs (FileAction action, string filename)
		{
			this.action = action;
			this.filename = filename;
		}

		public FileAction action;
		public string filename;
	}
	#endregion

	#region canvas items

	public enum CanvasMode
	{
		Select,
		Place,
		Delete,
		Connect
	}

	public enum CanvasObject
	{
		None,
		SimpleBlock,
		Turnout,
		ThreewayTurnout,
		SingleCrossover,
		SimpleBorder,
		SensorBorder
	}

	#endregion

}
